package thu.cs.segroup.rule;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class Rule implements Serializable{

	private String event;
	private List<Assertion> assertions; 
	private String behavName;
	
	public Rule() {
		assertions = new ArrayList<Assertion>();
	}

	public String getEvent() {
		return event;
	}

	public void setEvent(String event) {
		this.event = event;
	}

	public String getBehavName() {
		return behavName;
	}

	public void setBehavName(String behavName) {
		this.behavName = behavName;
	}
	
	public void addAssertion(Assertion _assertion) {
		assertions.add(_assertion);
	}
	
	public List<Assertion> getAssertions() {
		return assertions;
	}
	
}
